package com.ccut.xunfeiSpringboot.common;/*
 * ClassName: JwtProperties
 * Package: com.ccut.xunfeiSpringboot.common
 * Description:
 * @Author 刘千湫
 * @Create 2025/5/10 17:14
 * @Version 1.0
 */



import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {

    private String secretKey;
    private long expiration;

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public long getExpiration() {
        return expiration;
    }

    public void setExpiration(long expiration) {
        this.expiration = expiration;
    }
}
